<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/fmt" prefix="fmt"%>
<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Insert title here</title>
<style type="text/css">
	table, th, td
  {
  border-collapse:collapse;
  border: 1px solid blue;
  }
</style>
</head>
<body>
<table>
	<th>性别</th>
	<th>名字</th>
	<th>年龄</th>
	<th>工资</th>
	<th>日期</th>
	<c:forEach items="${users }" var="u">
			<tr>
				<td>
				<c:if test="${uu.sex }">女</c:if>
				<c:if test="${!uu.sex }">男</c:if>
			    </td>				
				<td>${u.name }</td>
				<td>${u.age }</td>
				<td>${u.sal }</td>
				<td><fmt:formatDate value="${u.birth }" pattern="yyyy年MM月dd日"/></td>
		
			</tr>
		</c:forEach>

</table>

</body>
</html>